// Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See Vrvcpu.h for the primary calling header

#include "Vrvcpu.h"
#include "Vrvcpu__Syms.h"

//==========

VerilatedContext* Vrvcpu::contextp() {
    return __VlSymsp->_vm_contextp__;
}

void Vrvcpu::eval_step() {
    VL_DEBUG_IF(VL_DBG_MSGF("+++++TOP Evaluate Vrvcpu::eval\n"); );
    Vrvcpu__Syms* __restrict vlSymsp = this->__VlSymsp;  // Setup global symbol table
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
#ifdef VL_DEBUG
    // Debug assertions
    _eval_debug_assertions();
#endif  // VL_DEBUG
    // Initialize
    if (VL_UNLIKELY(!vlSymsp->__Vm_didInit)) _eval_initial_loop(vlSymsp);
    // Evaluate till stable
    int __VclockLoop = 0;
    QData __Vchange = 1;
    do {
        VL_DEBUG_IF(VL_DBG_MSGF("+ Clock loop\n"););
        vlSymsp->__Vm_activity = true;
        _eval(vlSymsp);
        if (VL_UNLIKELY(++__VclockLoop > 100)) {
            // About to fail, so enable debug to see what's not settling.
            // Note you must run make with OPT=-DVL_DEBUG for debug prints.
            int __Vsaved_debug = Verilated::debug();
            Verilated::debug(1);
            __Vchange = _change_request(vlSymsp);
            Verilated::debug(__Vsaved_debug);
            VL_FATAL_MT("vsrc/rvcpu.v", 1533, "",
                "Verilated model didn't converge\n"
                "- See https://verilator.org/warn/DIDNOTCONVERGE");
        } else {
            __Vchange = _change_request(vlSymsp);
        }
    } while (VL_UNLIKELY(__Vchange));
}

void Vrvcpu::_eval_initial_loop(Vrvcpu__Syms* __restrict vlSymsp) {
    vlSymsp->__Vm_didInit = true;
    _eval_initial(vlSymsp);
    vlSymsp->__Vm_activity = true;
    // Evaluate till stable
    int __VclockLoop = 0;
    QData __Vchange = 1;
    do {
        _eval_settle(vlSymsp);
        _eval(vlSymsp);
        if (VL_UNLIKELY(++__VclockLoop > 100)) {
            // About to fail, so enable debug to see what's not settling.
            // Note you must run make with OPT=-DVL_DEBUG for debug prints.
            int __Vsaved_debug = Verilated::debug();
            Verilated::debug(1);
            __Vchange = _change_request(vlSymsp);
            Verilated::debug(__Vsaved_debug);
            VL_FATAL_MT("vsrc/rvcpu.v", 1533, "",
                "Verilated model didn't DC converge\n"
                "- See https://verilator.org/warn/DIDNOTCONVERGE");
        } else {
            __Vchange = _change_request(vlSymsp);
        }
    } while (VL_UNLIKELY(__Vchange));
}

VL_INLINE_OPT void Vrvcpu::_combo__TOP__1(Vrvcpu__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_combo__TOP__1\n"); );
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    vlTOPp->io_inst_ena = (1U & (~ (IData)(vlTOPp->reset)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_197 
        = (0x1fU & ((4U == (0x1fU & (vlTOPp->io_inst 
                                     >> 2U))) ? (vlTOPp->io_inst 
                                                 >> 7U)
                     : ((6U == (0x1fU & (vlTOPp->io_inst 
                                         >> 2U))) ? 
                        (vlTOPp->io_inst >> 7U) : (
                                                   (0xdU 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U)))
                                                    ? 
                                                   (vlTOPp->io_inst 
                                                    >> 7U)
                                                    : 
                                                   ((5U 
                                                     == 
                                                     (0x1fU 
                                                      & (vlTOPp->io_inst 
                                                         >> 2U)))
                                                     ? 
                                                    (vlTOPp->io_inst 
                                                     >> 7U)
                                                     : 
                                                    ((0xcU 
                                                      == 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U)))
                                                      ? 
                                                     (vlTOPp->io_inst 
                                                      >> 7U)
                                                      : 
                                                     ((0xeU 
                                                       == 
                                                       (0x1fU 
                                                        & (vlTOPp->io_inst 
                                                           >> 2U)))
                                                       ? 
                                                      (vlTOPp->io_inst 
                                                       >> 7U)
                                                       : 
                                                      ((0x1bU 
                                                        == 
                                                        (0x1fU 
                                                         & (vlTOPp->io_inst 
                                                            >> 2U)))
                                                        ? 
                                                       (vlTOPp->io_inst 
                                                        >> 7U)
                                                        : 
                                                       ((0x19U 
                                                         == 
                                                         (0x1fU 
                                                          & (vlTOPp->io_inst 
                                                             >> 2U)))
                                                         ? 
                                                        (vlTOPp->io_inst 
                                                         >> 7U)
                                                         : 
                                                        ((0x18U 
                                                          == 
                                                          (0x1fU 
                                                           & (vlTOPp->io_inst 
                                                              >> 2U)))
                                                          ? 0U
                                                          : 
                                                         ((0U 
                                                           == 
                                                           (0x1fU 
                                                            & (vlTOPp->io_inst 
                                                               >> 2U)))
                                                           ? 
                                                          (vlTOPp->io_inst 
                                                           >> 7U)
                                                           : 0U)))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_b 
        = ((~ (IData)(vlTOPp->reset)) & ((4U != (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U))) 
                                         & ((6U != 
                                             (0x1fU 
                                              & (vlTOPp->io_inst 
                                                 >> 2U))) 
                                            & ((0xdU 
                                                != 
                                                (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U))) 
                                               & ((5U 
                                                   != 
                                                   (0x1fU 
                                                    & (vlTOPp->io_inst 
                                                       >> 2U))) 
                                                  & ((0xcU 
                                                      != 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U))) 
                                                     & ((0xeU 
                                                         != 
                                                         (0x1fU 
                                                          & (vlTOPp->io_inst 
                                                             >> 2U))) 
                                                        & ((0x1bU 
                                                            != 
                                                            (0x1fU 
                                                             & (vlTOPp->io_inst 
                                                                >> 2U))) 
                                                           & ((0x19U 
                                                               != 
                                                               (0x1fU 
                                                                & (vlTOPp->io_inst 
                                                                   >> 2U))) 
                                                              & (0x18U 
                                                                 == 
                                                                 (0x1fU 
                                                                  & (vlTOPp->io_inst 
                                                                     >> 2U))))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_172 
        = ((5U != (0x1fU & (vlTOPp->io_inst >> 2U))) 
           & ((0xcU != (0x1fU & (vlTOPp->io_inst >> 2U))) 
              & ((0xeU != (0x1fU & (vlTOPp->io_inst 
                                    >> 2U))) & ((0x1bU 
                                                 != 
                                                 (0x1fU 
                                                  & (vlTOPp->io_inst 
                                                     >> 2U))) 
                                                & ((0x19U 
                                                    != 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U))) 
                                                   & ((0x18U 
                                                       != 
                                                       (0x1fU 
                                                        & (vlTOPp->io_inst 
                                                           >> 2U))) 
                                                      & ((0U 
                                                          == 
                                                          (0x1fU 
                                                           & (vlTOPp->io_inst 
                                                              >> 2U)))
                                                          ? 
                                                         ((2U 
                                                           == 
                                                           (7U 
                                                            & (vlTOPp->io_inst 
                                                               >> 0xcU))) 
                                                          | ((1U 
                                                              == 
                                                              (7U 
                                                               & (vlTOPp->io_inst 
                                                                  >> 0xcU))) 
                                                             | ((5U 
                                                                 != 
                                                                 (7U 
                                                                  & (vlTOPp->io_inst 
                                                                     >> 0xcU))) 
                                                                & (0U 
                                                                   == 
                                                                   (7U 
                                                                    & (vlTOPp->io_inst 
                                                                       >> 0xcU))))))
                                                          : 
                                                         ((8U 
                                                           == 
                                                           (0x1fU 
                                                            & (vlTOPp->io_inst 
                                                               >> 2U))) 
                                                          & ((2U 
                                                              != 
                                                              (7U 
                                                               & (vlTOPp->io_inst 
                                                                  >> 0xcU))) 
                                                             & ((1U 
                                                                 == 
                                                                 (7U 
                                                                  & (vlTOPp->io_inst 
                                                                     >> 0xcU))) 
                                                                | (0U 
                                                                   == 
                                                                   (7U 
                                                                    & (vlTOPp->io_inst 
                                                                       >> 0xcU)))))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_106 
        = ((0U == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? ((2U == (7U & (vlTOPp->io_inst >> 0xcU)))
                ? 2U : ((1U == (7U & (vlTOPp->io_inst 
                                      >> 0xcU))) ? 1U
                         : ((5U == (7U & (vlTOPp->io_inst 
                                          >> 0xcU)))
                             ? 1U : ((0U == (7U & (vlTOPp->io_inst 
                                                   >> 0xcU)))
                                      ? 0U : ((4U == 
                                               (7U 
                                                & (vlTOPp->io_inst 
                                                   >> 0xcU)))
                                               ? 0U
                                               : ((3U 
                                                   == 
                                                   (7U 
                                                    & (vlTOPp->io_inst 
                                                       >> 0xcU)))
                                                   ? 3U
                                                   : 
                                                  ((6U 
                                                    == 
                                                    (7U 
                                                     & (vlTOPp->io_inst 
                                                        >> 0xcU)))
                                                    ? 2U
                                                    : 0U)))))))
            : ((8U == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? ((2U == (7U & (vlTOPp->io_inst >> 0xcU)))
                    ? 2U : ((1U == (7U & (vlTOPp->io_inst 
                                          >> 0xcU)))
                             ? 1U : ((0U == (7U & (vlTOPp->io_inst 
                                                   >> 0xcU)))
                                      ? 0U : ((3U == 
                                               (7U 
                                                & (vlTOPp->io_inst 
                                                   >> 0xcU)))
                                               ? 3U
                                               : 0U))))
                : 0U));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_j 
        = ((~ (IData)(vlTOPp->reset)) & ((4U != (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U))) 
                                         & ((6U != 
                                             (0x1fU 
                                              & (vlTOPp->io_inst 
                                                 >> 2U))) 
                                            & ((0xdU 
                                                != 
                                                (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U))) 
                                               & ((5U 
                                                   != 
                                                   (0x1fU 
                                                    & (vlTOPp->io_inst 
                                                       >> 2U))) 
                                                  & ((0xcU 
                                                      != 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U))) 
                                                     & ((0xeU 
                                                         != 
                                                         (0x1fU 
                                                          & (vlTOPp->io_inst 
                                                             >> 2U))) 
                                                        & ((0x1bU 
                                                            == 
                                                            (0x1fU 
                                                             & (vlTOPp->io_inst 
                                                                >> 2U))) 
                                                           | (0x19U 
                                                              == 
                                                              (0x1fU 
                                                               & (vlTOPp->io_inst 
                                                                  >> 2U)))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_105 
        = ((0U == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? ((2U == (7U & (vlTOPp->io_inst >> 0xcU)))
                ? 0x11U : ((1U == (7U & (vlTOPp->io_inst 
                                         >> 0xcU)))
                            ? 0x11U : ((5U == (7U & 
                                               (vlTOPp->io_inst 
                                                >> 0xcU)))
                                        ? 0x11U : (
                                                   (0U 
                                                    == 
                                                    (7U 
                                                     & (vlTOPp->io_inst 
                                                        >> 0xcU)))
                                                    ? 0x11U
                                                    : 
                                                   ((4U 
                                                     == 
                                                     (7U 
                                                      & (vlTOPp->io_inst 
                                                         >> 0xcU)))
                                                     ? 0x11U
                                                     : 
                                                    ((3U 
                                                      == 
                                                      (7U 
                                                       & (vlTOPp->io_inst 
                                                          >> 0xcU)))
                                                      ? 0x11U
                                                      : 
                                                     ((6U 
                                                       == 
                                                       (7U 
                                                        & (vlTOPp->io_inst 
                                                           >> 0xcU)))
                                                       ? 0x11U
                                                       : 0U)))))))
            : ((8U == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? ((2U == (7U & (vlTOPp->io_inst >> 0xcU)))
                    ? 0x11U : ((1U == (7U & (vlTOPp->io_inst 
                                             >> 0xcU)))
                                ? 0x11U : ((0U == (7U 
                                                   & (vlTOPp->io_inst 
                                                      >> 0xcU)))
                                            ? 0x11U
                                            : ((3U 
                                                == 
                                                (7U 
                                                 & (vlTOPp->io_inst 
                                                    >> 0xcU)))
                                                ? 0x11U
                                                : 0U))))
                : 0U));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_13 
        = ((0x80U & ((IData)(((QData)((IData)((0xfffff000U 
                                               & vlTOPp->io_inst))) 
                              >> 0x1fU)) << 7U)) | 
           ((0x40U & ((IData)(((QData)((IData)((0xfffff000U 
                                                & vlTOPp->io_inst))) 
                               >> 0x1fU)) << 6U)) | 
            ((0x20U & ((IData)(((QData)((IData)((0xfffff000U 
                                                 & vlTOPp->io_inst))) 
                                >> 0x1fU)) << 5U)) 
             | ((0x10U & ((IData)(((QData)((IData)(
                                                   (0xfffff000U 
                                                    & vlTOPp->io_inst))) 
                                   >> 0x1fU)) << 4U)) 
                | ((8U & ((IData)(((QData)((IData)(
                                                   (0xfffff000U 
                                                    & vlTOPp->io_inst))) 
                                   >> 0x1fU)) << 3U)) 
                   | ((4U & ((IData)(((QData)((IData)(
                                                      (0xfffff000U 
                                                       & vlTOPp->io_inst))) 
                                      >> 0x1fU)) << 2U)) 
                      | ((2U & ((IData)(((QData)((IData)(
                                                         (0xfffff000U 
                                                          & vlTOPp->io_inst))) 
                                         >> 0x1fU)) 
                                << 1U)) | (1U & (IData)(
                                                        ((QData)((IData)(
                                                                         (0xfffff000U 
                                                                          & vlTOPp->io_inst))) 
                                                         >> 0x1fU))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo_14 
        = ((0x10U & (vlTOPp->io_inst >> 0x1bU)) | (
                                                   (8U 
                                                    & (vlTOPp->io_inst 
                                                       >> 0x1cU)) 
                                                   | ((4U 
                                                       & (vlTOPp->io_inst 
                                                          >> 0x1dU)) 
                                                      | ((2U 
                                                          & (vlTOPp->io_inst 
                                                             >> 0x1eU)) 
                                                         | (1U 
                                                            & (vlTOPp->io_inst 
                                                               >> 0x1fU))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14 
        = ((0x20U & (vlTOPp->io_inst >> 0x1aU)) | (
                                                   (0x10U 
                                                    & (vlTOPp->io_inst 
                                                       >> 0x1bU)) 
                                                   | ((8U 
                                                       & (vlTOPp->io_inst 
                                                          >> 0x1cU)) 
                                                      | ((4U 
                                                          & (vlTOPp->io_inst 
                                                             >> 0x1dU)) 
                                                         | ((2U 
                                                             & (vlTOPp->io_inst 
                                                                >> 0x1eU)) 
                                                            | (1U 
                                                               & (vlTOPp->io_inst 
                                                                  >> 0x1fU)))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm 
        = (0xfffU & ((IData)(vlTOPp->reset) ? (vlTOPp->io_inst 
                                               >> 0x14U)
                      : (vlTOPp->io_inst >> 0x14U)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_ext 
        = ((~ (IData)(vlTOPp->reset)) & ((4U != (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U))) 
                                         & ((6U != 
                                             (0x1fU 
                                              & (vlTOPp->io_inst 
                                                 >> 2U))) 
                                            & ((0xdU 
                                                != 
                                                (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U))) 
                                               & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_172)))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_hi_27 
        = ((0x80000000U & ((IData)(((QData)((IData)(
                                                    (0xfffff000U 
                                                     & vlTOPp->io_inst))) 
                                    >> 0x1fU)) << 0x1fU)) 
           | ((0x40000000U & ((IData)(((QData)((IData)(
                                                       (0xfffff000U 
                                                        & vlTOPp->io_inst))) 
                                       >> 0x1fU)) << 0x1eU)) 
              | ((0x20000000U & ((IData)(((QData)((IData)(
                                                          (0xfffff000U 
                                                           & vlTOPp->io_inst))) 
                                          >> 0x1fU)) 
                                 << 0x1dU)) | ((0x10000000U 
                                                & ((IData)(
                                                           ((QData)((IData)(
                                                                            (0xfffff000U 
                                                                             & vlTOPp->io_inst))) 
                                                            >> 0x1fU)) 
                                                   << 0x1cU)) 
                                               | ((0x8000000U 
                                                   & ((IData)(
                                                              ((QData)((IData)(
                                                                               (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                               >> 0x1fU)) 
                                                      << 0x1bU)) 
                                                  | ((0x4000000U 
                                                      & ((IData)(
                                                                 ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                  >> 0x1fU)) 
                                                         << 0x1aU)) 
                                                     | ((0x2000000U 
                                                         & ((IData)(
                                                                    ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                     >> 0x1fU)) 
                                                            << 0x19U)) 
                                                        | ((0x1000000U 
                                                            & ((IData)(
                                                                       ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                        >> 0x1fU)) 
                                                               << 0x18U)) 
                                                           | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_13) 
                                                               << 0x10U) 
                                                              | ((0x8000U 
                                                                  & ((IData)(
                                                                             ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                              >> 0x1fU)) 
                                                                     << 0xfU)) 
                                                                 | ((0x4000U 
                                                                     & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                        << 0xeU)) 
                                                                    | ((0x2000U 
                                                                        & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                           << 0xdU)) 
                                                                       | ((0x1000U 
                                                                           & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                              << 0xcU)) 
                                                                          | ((0x800U 
                                                                              & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                                << 0xbU)) 
                                                                             | ((0x400U 
                                                                                & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                                << 0xaU)) 
                                                                                | ((0x200U 
                                                                                & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                                << 9U)) 
                                                                                | ((0x100U 
                                                                                & ((IData)(
                                                                                ((QData)((IData)(
                                                                                (0xfffff000U 
                                                                                & vlTOPp->io_inst))) 
                                                                                >> 0x1fU)) 
                                                                                << 8U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_13))))))))))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_14 
        = ((0x400U & (vlTOPp->io_inst >> 0x15U)) | 
           ((0x200U & (vlTOPp->io_inst >> 0x16U)) | 
            ((0x100U & (vlTOPp->io_inst >> 0x17U)) 
             | ((0x80U & (vlTOPp->io_inst >> 0x18U)) 
                | ((0x40U & (vlTOPp->io_inst >> 0x19U)) 
                   | ((0x20U & (vlTOPp->io_inst >> 0x1aU)) 
                      | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo_14)))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__io_offset_lo_hi 
        = ((0x1000U & (vlTOPp->io_inst >> 0x13U)) | 
           ((0x800U & (vlTOPp->io_inst >> 0x14U)) | 
            ((0x400U & (vlTOPp->io_inst >> 0x15U)) 
             | ((0x200U & (vlTOPp->io_inst >> 0x16U)) 
                | ((0x100U & (vlTOPp->io_inst >> 0x17U)) 
                   | ((0x80U & (vlTOPp->io_inst >> 0x18U)) 
                      | ((0x40U & (vlTOPp->io_inst 
                                   >> 0x19U)) | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_14 
        = ((2U == (7U & (vlTOPp->io_inst >> 0xcU)))
            ? 0x15U : ((3U == (7U & (vlTOPp->io_inst 
                                     >> 0xcU))) ? 0x16U
                        : ((7U == (7U & (vlTOPp->io_inst 
                                         >> 0xcU)))
                            ? 0x17U : ((6U == (7U & 
                                               (vlTOPp->io_inst 
                                                >> 0xcU)))
                                        ? 0x18U : (
                                                   (4U 
                                                    == 
                                                    (7U 
                                                     & (vlTOPp->io_inst 
                                                        >> 0xcU)))
                                                    ? 0x19U
                                                    : 
                                                   ((1U 
                                                     == 
                                                     (7U 
                                                      & (vlTOPp->io_inst 
                                                         >> 0xcU)))
                                                     ? 0x12U
                                                     : 
                                                    ((5U 
                                                      == 
                                                      (7U 
                                                       & (vlTOPp->io_inst 
                                                          >> 0xcU)))
                                                      ? 
                                                     ((0x400U 
                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm))
                                                       ? 0x13U
                                                       : 0x14U)
                                                      : 0U)))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_22 
        = ((1U == (7U & (vlTOPp->io_inst >> 0xcU)))
            ? 0x21U : ((5U == (7U & (vlTOPp->io_inst 
                                     >> 0xcU))) ? (
                                                   (0x400U 
                                                    & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm))
                                                    ? 0x23U
                                                    : 0x22U)
                        : 0U));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo 
        = ((0x20U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                     >> 6U)) | ((0x10U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                          >> 7U)) | 
                                ((8U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                        >> 8U)) | (
                                                   (4U 
                                                    & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                       >> 9U)) 
                                                   | ((2U 
                                                       & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                          >> 0xaU)) 
                                                      | (1U 
                                                         & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                            >> 0xbU)))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__io_offset_hi_hi_hi_1 
        = (((QData)((IData)((1U & (vlTOPp->io_inst 
                                   >> 0x1fU)))) << 0x32U) 
           | (((QData)((IData)((1U & (vlTOPp->io_inst 
                                      >> 0x1fU)))) 
               << 0x31U) | (((QData)((IData)((1U & 
                                              (vlTOPp->io_inst 
                                               >> 0x1fU)))) 
                             << 0x30U) | (((QData)((IData)(
                                                           (1U 
                                                            & (vlTOPp->io_inst 
                                                               >> 0x1fU)))) 
                                           << 0x2fU) 
                                          | (((QData)((IData)(
                                                              (1U 
                                                               & (vlTOPp->io_inst 
                                                                  >> 0x1fU)))) 
                                              << 0x2eU) 
                                             | (((QData)((IData)(
                                                                 (1U 
                                                                  & (vlTOPp->io_inst 
                                                                     >> 0x1fU)))) 
                                                 << 0x2dU) 
                                                | (((QData)((IData)(
                                                                    (1U 
                                                                     & (vlTOPp->io_inst 
                                                                        >> 0x1fU)))) 
                                                    << 0x2cU) 
                                                   | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14)) 
                                                       << 0x26U) 
                                                      | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__io_offset_lo_hi)) 
                                                          << 0x19U) 
                                                         | (QData)((IData)(
                                                                           ((0x1000000U 
                                                                             & (vlTOPp->io_inst 
                                                                                >> 7U)) 
                                                                            | ((0x800000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 8U)) 
                                                                               | ((0x400000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 9U)) 
                                                                                | ((0x200000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xaU)) 
                                                                                | ((0x100000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xbU)) 
                                                                                | ((0x80000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xcU)) 
                                                                                | ((0x40000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xdU)) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14) 
                                                                                << 0xcU) 
                                                                                | ((0x800U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x14U)) 
                                                                                | ((0x400U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x15U)) 
                                                                                | ((0x200U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x16U)) 
                                                                                | ((0x100U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x17U)) 
                                                                                | ((0x80U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x18U)) 
                                                                                | ((0x40U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x19U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14))))))))))))))))))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_156 
        = ((0xcU == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? ((0U == (7U & (vlTOPp->io_inst >> 0xcU)))
                ? ((0x400U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm))
                    ? 0x1aU : 0x11U) : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_14))
            : ((0xeU == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? ((0U == (7U & (vlTOPp->io_inst >> 0xcU)))
                    ? ((0x400U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm))
                        ? 0x20U : 0x1fU) : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_22))
                : ((0x1bU == (0x1fU & (vlTOPp->io_inst 
                                       >> 2U))) ? 0x11U
                    : ((0x19U == (0x1fU & (vlTOPp->io_inst 
                                           >> 2U)))
                        ? 0x11U : ((0x18U == (0x1fU 
                                              & (vlTOPp->io_inst 
                                                 >> 2U)))
                                    ? ((0U == (7U & 
                                               (vlTOPp->io_inst 
                                                >> 0xcU)))
                                        ? 0x1bU : (
                                                   (1U 
                                                    == 
                                                    (7U 
                                                     & (vlTOPp->io_inst 
                                                        >> 0xcU)))
                                                    ? 0x1cU
                                                    : 
                                                   ((4U 
                                                     == 
                                                     (7U 
                                                      & (vlTOPp->io_inst 
                                                         >> 0xcU)))
                                                     ? 0x15U
                                                     : 
                                                    ((6U 
                                                      == 
                                                      (7U 
                                                       & (vlTOPp->io_inst 
                                                          >> 0xcU)))
                                                      ? 0x16U
                                                      : 
                                                     ((5U 
                                                       == 
                                                       (7U 
                                                        & (vlTOPp->io_inst 
                                                           >> 0xcU)))
                                                       ? 0x1dU
                                                       : 
                                                      ((7U 
                                                        == 
                                                        (7U 
                                                         & (vlTOPp->io_inst 
                                                            >> 0xcU)))
                                                        ? 0x1eU
                                                        : 0U))))))
                                    : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_105))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo 
        = ((0x1000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                       << 1U)) | ((0x800U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm)) 
                                  | ((0x400U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                >> 1U)) 
                                     | ((0x200U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                   >> 2U)) 
                                        | ((0x100U 
                                            & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                               >> 3U)) 
                                           | ((0x80U 
                                               & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                  >> 4U)) 
                                              | ((0x40U 
                                                  & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                     >> 5U)) 
                                                 | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207 
        = ((IData)(vlTOPp->reset) ? 0U : ((4U == (0x1fU 
                                                  & (vlTOPp->io_inst 
                                                     >> 2U)))
                                           ? ((0U == 
                                               (7U 
                                                & (vlTOPp->io_inst 
                                                   >> 0xcU)))
                                               ? 0x11U
                                               : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_14))
                                           : ((6U == 
                                               (0x1fU 
                                                & (vlTOPp->io_inst 
                                                   >> 2U)))
                                               ? ((0U 
                                                   == 
                                                   (7U 
                                                    & (vlTOPp->io_inst 
                                                       >> 0xcU)))
                                                   ? 0x1fU
                                                   : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_22))
                                               : ((0xdU 
                                                   == 
                                                   (0x1fU 
                                                    & (vlTOPp->io_inst 
                                                       >> 2U)))
                                                   ? 0x21U
                                                   : 
                                                  ((5U 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U)))
                                                    ? 0x11U
                                                    : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_156))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52 
        = (((QData)((IData)((1U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                   >> 0xbU)))) << 0x3fU) 
           | (((QData)((IData)((1U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                      >> 0xbU)))) << 0x3eU) 
              | (((QData)((IData)((1U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                         >> 0xbU)))) 
                  << 0x3dU) | (((QData)((IData)((1U 
                                                 & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                    >> 0xbU)))) 
                                << 0x3cU) | (((QData)((IData)(
                                                              (1U 
                                                               & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                  >> 0xbU)))) 
                                              << 0x3bU) 
                                             | (((QData)((IData)(
                                                                 (1U 
                                                                  & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                     >> 0xbU)))) 
                                                 << 0x3aU) 
                                                | (((QData)((IData)(
                                                                    (1U 
                                                                     & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                        >> 0xbU)))) 
                                                    << 0x39U) 
                                                   | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo)) 
                                                       << 0x33U) 
                                                      | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo)) 
                                                          << 0x26U) 
                                                         | (((QData)((IData)(
                                                                             (1U 
                                                                              & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                >> 0xbU)))) 
                                                             << 0x25U) 
                                                            | (((QData)((IData)(
                                                                                (1U 
                                                                                & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                >> 0xbU)))) 
                                                                << 0x24U) 
                                                               | (((QData)((IData)(
                                                                                (1U 
                                                                                & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                >> 0xbU)))) 
                                                                   << 0x23U) 
                                                                  | (((QData)((IData)(
                                                                                (1U 
                                                                                & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                >> 0xbU)))) 
                                                                      << 0x22U) 
                                                                     | (((QData)((IData)(
                                                                                (1U 
                                                                                & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                >> 0xbU)))) 
                                                                         << 0x21U) 
                                                                        | (((QData)((IData)(
                                                                                (1U 
                                                                                & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                >> 0xbU)))) 
                                                                            << 0x20U) 
                                                                           | (QData)((IData)(
                                                                                ((0x80000000U 
                                                                                & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm) 
                                                                                << 0x14U)) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo) 
                                                                                << 0x19U) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo) 
                                                                                << 0xcU) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm)))))))))))))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_102 
        = ((0U == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
            : ((8U == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? ((((QData)((IData)((1U & (vlTOPp->io_inst 
                                            >> 0x1fU)))) 
                     << 0x3fU) | (((QData)((IData)(
                                                   (1U 
                                                    & (vlTOPp->io_inst 
                                                       >> 0x1fU)))) 
                                   << 0x3eU) | (((QData)((IData)(
                                                                 (1U 
                                                                  & (vlTOPp->io_inst 
                                                                     >> 0x1fU)))) 
                                                 << 0x3dU) 
                                                | (((QData)((IData)(
                                                                    (1U 
                                                                     & (vlTOPp->io_inst 
                                                                        >> 0x1fU)))) 
                                                    << 0x3cU) 
                                                   | (((QData)((IData)(
                                                                       (1U 
                                                                        & (vlTOPp->io_inst 
                                                                           >> 0x1fU)))) 
                                                       << 0x3bU) 
                                                      | (((QData)((IData)(
                                                                          (1U 
                                                                           & (vlTOPp->io_inst 
                                                                              >> 0x1fU)))) 
                                                          << 0x3aU) 
                                                         | (((QData)((IData)(
                                                                             (1U 
                                                                              & (vlTOPp->io_inst 
                                                                                >> 0x1fU)))) 
                                                             << 0x39U) 
                                                            | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14)) 
                                                                << 0x33U) 
                                                               | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__io_offset_lo_hi)) 
                                                                   << 0x26U) 
                                                                  | ((QData)((IData)(
                                                                                ((0x2000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 6U)) 
                                                                                | ((0x1000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 7U)) 
                                                                                | ((0x800000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 8U)) 
                                                                                | ((0x400000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 9U)) 
                                                                                | ((0x200000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xaU)) 
                                                                                | ((0x100000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xbU)) 
                                                                                | ((0x80000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xcU)) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_hi_14) 
                                                                                << 0xdU) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__io_offset_lo_hi))))))))))) 
                                                                     << 0xcU)))))))))) 
                   | (QData)((IData)(((0xfe0U & (vlTOPp->io_inst 
                                                 >> 0x14U)) 
                                      | (0x1fU & (vlTOPp->io_inst 
                                                  >> 7U))))))
                : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52));
}

VL_INLINE_OPT void Vrvcpu::_sequent__TOP__3(Vrvcpu__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_sequent__TOP__3\n"); );
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Variables
    CData/*0:0*/ __Vdlyvset__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0;
    SData/*9:0*/ __Vdlyvdim0__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0;
    VlWide<4>/*127:0*/ __Vtemp58;
    VlWide<3>/*95:0*/ __Vtemp59;
    VlWide<4>/*127:0*/ __Vtemp60;
    VlWide<4>/*127:0*/ __Vtemp61;
    QData/*63:0*/ __Vdlyvval__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0;
    // Body
    if (VL_UNLIKELY(((((((((((((((~ (IData)(vlTOPp->reset)) 
                                 & (4U != (0x1fU & 
                                           (vlTOPp->io_inst 
                                            >> 2U)))) 
                                & (6U != (0x1fU & (vlTOPp->io_inst 
                                                   >> 2U)))) 
                               & (0xdU != (0x1fU & 
                                           (vlTOPp->io_inst 
                                            >> 2U)))) 
                              & (5U != (0x1fU & (vlTOPp->io_inst 
                                                 >> 2U)))) 
                             & (0xcU != (0x1fU & (vlTOPp->io_inst 
                                                  >> 2U)))) 
                            & (0xeU != (0x1fU & (vlTOPp->io_inst 
                                                 >> 2U)))) 
                           & (0x1bU != (0x1fU & (vlTOPp->io_inst 
                                                 >> 2U)))) 
                          & (0x19U != (0x1fU & (vlTOPp->io_inst 
                                                >> 2U)))) 
                         & (0x18U != (0x1fU & (vlTOPp->io_inst 
                                               >> 2U)))) 
                        & (0U != (0x1fU & (vlTOPp->io_inst 
                                           >> 2U)))) 
                       & (8U != (0x1fU & (vlTOPp->io_inst 
                                          >> 2U)))) 
                      & (0x1fU == (0x1fU & (vlTOPp->io_inst 
                                            >> 2U)))) 
                     & (~ (IData)(vlTOPp->reset))))) {
        VL_FWRITEF(0x80000002U,"%b ",8,(0xffU & (IData)(
                                                        ((IData)(vlTOPp->reset)
                                                          ? 0ULL
                                                          : 
                                                         ((4U 
                                                           == 
                                                           (0x1fU 
                                                            & (vlTOPp->io_inst 
                                                               >> 2U)))
                                                           ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1
                                                           : 
                                                          ((6U 
                                                            == 
                                                            (0x1fU 
                                                             & (vlTOPp->io_inst 
                                                                >> 2U)))
                                                            ? (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1))
                                                            : 
                                                           ((0xdU 
                                                             == 
                                                             (0x1fU 
                                                              & (vlTOPp->io_inst 
                                                                 >> 2U)))
                                                             ? (QData)((IData)(
                                                                               (0xfffffU 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xcU))))
                                                             : 
                                                            ((5U 
                                                              == 
                                                              (0x1fU 
                                                               & (vlTOPp->io_inst 
                                                                  >> 2U)))
                                                              ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out
                                                              : 
                                                             ((0xcU 
                                                               == 
                                                               (0x1fU 
                                                                & (vlTOPp->io_inst 
                                                                   >> 2U)))
                                                               ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1
                                                               : 
                                                              ((0xeU 
                                                                == 
                                                                (0x1fU 
                                                                 & (vlTOPp->io_inst 
                                                                    >> 2U)))
                                                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1
                                                                : 
                                                               ((0x1bU 
                                                                 == 
                                                                 (0x1fU 
                                                                  & (vlTOPp->io_inst 
                                                                     >> 2U)))
                                                                 ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out
                                                                 : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1)))))))))));
    }
    __Vdlyvset__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0 = 0U;
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT__the_addr 
        = ((IData)(vlTOPp->reset) ? 0ULL : ((IData)(vlTOPp->reset)
                                             ? 0ULL
                                             : ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_ena)
                                                 ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_in
                                                 : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT__pc)));
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_22 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_22 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x16U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_22 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_28 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_28 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x1cU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_28 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_29 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_29 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x1dU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_29 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_26 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_26 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x1aU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_26 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_23 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_23 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x17U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_23 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_27 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_27 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x1bU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_27 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_24 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_24 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x18U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_24 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_30 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_30 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x1eU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_30 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_25 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_25 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x19U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_25 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_31 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_31 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x1fU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_31 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_21 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_21 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x15U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_21 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_20 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_20 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x14U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_20 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_9 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_9 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((9U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_9 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_8 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_8 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((8U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_8 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_7 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_7 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((7U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_7 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_6 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_6 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((6U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_6 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_5 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_5 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((5U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_5 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_1 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_1 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((1U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_1 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_0 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_0 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_0 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_11 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_11 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0xbU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_11 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_2 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_2 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((2U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_2 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_3 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_3 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((3U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_3 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_4 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_4 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((4U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_4 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_10 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_10 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0xaU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_10 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_12 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_12 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0xcU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_12 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_13 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_13 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0xdU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_13 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_14 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_14 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0xeU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_14 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_15 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_15 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0xfU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_15 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_16 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_16 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x10U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_16 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_17 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_17 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_17 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_18 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_18 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x12U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_18 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_19 = 0ULL;
    } else if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_19 = 0ULL;
    } else if (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena) 
                & (0U != (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr)))) {
        if ((0x13U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr))) {
            vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_19 
                = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data;
        }
    }
    if (((~ ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_r_ena) 
             & (~ (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_w_ena)))) 
         & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_w_ena) 
            & (~ (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_r_ena))))) {
        VL_EXTEND_WQ(127,64, __Vtemp58, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
        __Vtemp59[0U] = 0U;
        __Vtemp59[1U] = (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
        __Vtemp59[2U] = (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                 >> 0x20U));
        VL_EXTEND_WW(127,96, __Vtemp60, __Vtemp59);
        VL_EXTEND_WQ(127,64, __Vtemp61, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
        __Vdlyvval__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0 
            = ((((QData)((IData)(((IData)(vlTOPp->reset)
                                   ? 0U : ((1U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                            ? ((3U 
                                                == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                                ? __Vtemp58[1U]
                                                : (
                                                   (2U 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                                    ? 
                                                   ((1U 
                                                     & (IData)(
                                                               (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                                >> 2U)))
                                                     ? 
                                                    __Vtemp60[1U]
                                                     : 
                                                    __Vtemp61[1U])
                                                    : 
                                                   vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_50[1U]))
                                            : 0U)))) 
                 << 0x20U) | (QData)((IData)(((IData)(vlTOPp->reset)
                                               ? 0U
                                               : ((1U 
                                                   & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                                   ? 
                                                  ((3U 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                                    ? 
                                                   __Vtemp58[0U]
                                                    : 
                                                   ((2U 
                                                     == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                                     ? 
                                                    ((1U 
                                                      & (IData)(
                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                                 >> 2U)))
                                                      ? 
                                                     __Vtemp60[0U]
                                                      : 
                                                     __Vtemp61[0U])
                                                     : 
                                                    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_50[0U]))
                                                   : 0U))))) 
               & ((IData)(vlTOPp->reset) ? 0ULL : (
                                                   (1U 
                                                    & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_mask
                                                    : 0ULL)));
        __Vdlyvset__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0 = 1U;
        __Vdlyvdim0__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0 
            = (0x3ffU & (IData)(((IData)(vlTOPp->reset)
                                  ? 0ULL : ((1U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                             ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out
                                             : 0ULL))));
    }
    if (__Vdlyvset__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0) {
        vlTOPp->rvcpu__DOT__M_RAM__DOT__Ram_Block[__Vdlyvdim0__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0] 
            = __Vdlyvval__rvcpu__DOT__M_RAM__DOT__Ram_Block__v0;
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT__pc 
        = ((IData)(vlTOPp->reset) ? 0ULL : ((IData)(vlTOPp->reset)
                                             ? 0ULL
                                             : ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_ena)
                                                 ? 
                                                (4ULL 
                                                 + vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_in)
                                                 : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT___pc_T_3)));
    vlTOPp->io_inst_addr = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT__the_addr;
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT___pc_T_3 
        = (4ULL + vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT__pc);
}

VL_INLINE_OPT void Vrvcpu::_combo__TOP__4(Vrvcpu__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_combo__TOP__4\n"); );
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Variables
    VlWide<4>/*127:0*/ __Vtemp74;
    VlWide<4>/*127:0*/ __Vtemp75;
    VlWide<4>/*127:0*/ __Vtemp76;
    VlWide<4>/*127:0*/ __Vtemp77;
    VlWide<3>/*95:0*/ __Vtemp84;
    VlWide<4>/*127:0*/ __Vtemp85;
    VlWide<3>/*95:0*/ __Vtemp86;
    VlWide<4>/*127:0*/ __Vtemp87;
    VlWide<4>/*127:0*/ __Vtemp88;
    VlWide<4>/*127:0*/ __Vtemp89;
    VlWide<4>/*127:0*/ __Vtemp90;
    VlWide<3>/*95:0*/ __Vtemp97;
    VlWide<4>/*127:0*/ __Vtemp98;
    VlWide<3>/*95:0*/ __Vtemp99;
    VlWide<4>/*127:0*/ __Vtemp100;
    VlWide<3>/*95:0*/ __Vtemp101;
    VlWide<4>/*127:0*/ __Vtemp102;
    VlWide<3>/*95:0*/ __Vtemp103;
    VlWide<4>/*127:0*/ __Vtemp104;
    VlWide<4>/*127:0*/ __Vtemp105;
    VlWide<4>/*127:0*/ __Vtemp106;
    VlWide<4>/*127:0*/ __Vtemp107;
    VlWide<4>/*127:0*/ __Vtemp108;
    VlWide<4>/*127:0*/ __Vtemp109;
    VlWide<4>/*127:0*/ __Vtemp110;
    VlWide<4>/*127:0*/ __Vtemp111;
    VlWide<4>/*127:0*/ __Vtemp127;
    // Body
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_ena 
        = (IData)(((0U == (1U & (IData)(vlTOPp->reset))) 
                   & ((4U == (0x1fU & (vlTOPp->io_inst 
                                       >> 2U))) | (
                                                   (6U 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U))) 
                                                   | ((0xdU 
                                                       == 
                                                       (0x1fU 
                                                        & (vlTOPp->io_inst 
                                                           >> 2U))) 
                                                      | ((5U 
                                                          == 
                                                          (0x1fU 
                                                           & (vlTOPp->io_inst 
                                                              >> 2U))) 
                                                         | ((0xcU 
                                                             == 
                                                             (0x1fU 
                                                              & (vlTOPp->io_inst 
                                                                 >> 2U))) 
                                                            | ((0xeU 
                                                                == 
                                                                (0x1fU 
                                                                 & (vlTOPp->io_inst 
                                                                    >> 2U))) 
                                                               | ((0x1bU 
                                                                   == 
                                                                   (0x1fU 
                                                                    & (vlTOPp->io_inst 
                                                                       >> 2U))) 
                                                                  | ((0x19U 
                                                                      == 
                                                                      (0x1fU 
                                                                       & (vlTOPp->io_inst 
                                                                          >> 2U))) 
                                                                     | ((0x18U 
                                                                         != 
                                                                         (0x1fU 
                                                                          & (vlTOPp->io_inst 
                                                                             >> 2U))) 
                                                                        & (0U 
                                                                           == 
                                                                           (0x1fU 
                                                                            & (vlTOPp->io_inst 
                                                                               >> 2U))))))))))))));
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out = 0ULL;
    } else {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_addr 
            = ((IData)(vlTOPp->reset) ? 0U : ((IData)(vlTOPp->reset)
                                               ? 0U
                                               : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_197)));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel 
            = ((4U == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? 0U : ((6U == (0x1fU & (vlTOPp->io_inst 
                                         >> 2U))) ? 0U
                         : ((0xdU == (0x1fU & (vlTOPp->io_inst 
                                               >> 2U)))
                             ? 0U : ((5U == (0x1fU 
                                             & (vlTOPp->io_inst 
                                                >> 2U)))
                                      ? 0U : ((0xcU 
                                               == (0x1fU 
                                                   & (vlTOPp->io_inst 
                                                      >> 2U)))
                                               ? 0U
                                               : ((0xeU 
                                                   == 
                                                   (0x1fU 
                                                    & (vlTOPp->io_inst 
                                                       >> 2U)))
                                                   ? 0U
                                                   : 
                                                  ((0x1bU 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U)))
                                                    ? 0U
                                                    : 
                                                   ((0x19U 
                                                     == 
                                                     (0x1fU 
                                                      & (vlTOPp->io_inst 
                                                         >> 2U)))
                                                     ? 0U
                                                     : 
                                                    ((0x18U 
                                                      == 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U)))
                                                      ? 0U
                                                      : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_106))))))))));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type 
            = ((4U == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? 0x14U : ((6U == (0x1fU & (vlTOPp->io_inst 
                                            >> 2U)))
                            ? 0x14U : ((0xdU == (0x1fU 
                                                 & (vlTOPp->io_inst 
                                                    >> 2U)))
                                        ? 4U : ((5U 
                                                 == 
                                                 (0x1fU 
                                                  & (vlTOPp->io_inst 
                                                     >> 2U)))
                                                 ? 4U
                                                 : 
                                                ((0xcU 
                                                  == 
                                                  (0x1fU 
                                                   & (vlTOPp->io_inst 
                                                      >> 2U)))
                                                  ? 0x1cU
                                                  : 
                                                 ((0xeU 
                                                   == 
                                                   (0x1fU 
                                                    & (vlTOPp->io_inst 
                                                       >> 2U)))
                                                   ? 0x1cU
                                                   : 
                                                  ((0x1bU 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U)))
                                                    ? 4U
                                                    : 
                                                   ((0x19U 
                                                     == 
                                                     (0x1fU 
                                                      & (vlTOPp->io_inst 
                                                         >> 2U)))
                                                     ? 0x14U
                                                     : 
                                                    ((0x18U 
                                                      == 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U)))
                                                      ? 0x18U
                                                      : 
                                                     ((0U 
                                                       == 
                                                       (0x1fU 
                                                        & (vlTOPp->io_inst 
                                                           >> 2U)))
                                                       ? 0x16U
                                                       : 
                                                      ((8U 
                                                        == 
                                                        (0x1fU 
                                                         & (vlTOPp->io_inst 
                                                            >> 2U)))
                                                        ? 0x19U
                                                        : 
                                                       ((0x1fU 
                                                         == 
                                                         (0x1fU 
                                                          & (vlTOPp->io_inst 
                                                             >> 2U)))
                                                         ? 0x10U
                                                         : 0U))))))))))));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out 
            = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage__DOT__the_addr;
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_r_ena 
        = (1U & ((~ (IData)(vlTOPp->reset)) & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type) 
                                               >> 1U)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_w_ena 
        = (1U & ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type)));
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr = 0U;
    } else {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr 
            = ((0x10U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                ? (0x1fU & (vlTOPp->io_inst >> 0xfU))
                : 0U);
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr 
            = ((8U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                ? (0x1fU & (vlTOPp->io_inst >> 0x14U))
                : 0U);
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch__DOT___GEN_3 
        = ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_b)
            ? (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out 
               + ((IData)(vlTOPp->reset) ? 0ULL : (
                                                   (4U 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U)))
                                                    ? 0ULL
                                                    : 
                                                   ((6U 
                                                     == 
                                                     (0x1fU 
                                                      & (vlTOPp->io_inst 
                                                         >> 2U)))
                                                     ? 0ULL
                                                     : 
                                                    ((0xdU 
                                                      == 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U)))
                                                      ? 0ULL
                                                      : 
                                                     ((5U 
                                                       == 
                                                       (0x1fU 
                                                        & (vlTOPp->io_inst 
                                                           >> 2U)))
                                                       ? 0ULL
                                                       : 
                                                      ((0xcU 
                                                        == 
                                                        (0x1fU 
                                                         & (vlTOPp->io_inst 
                                                            >> 2U)))
                                                        ? 0ULL
                                                        : 
                                                       ((0xeU 
                                                         == 
                                                         (0x1fU 
                                                          & (vlTOPp->io_inst 
                                                             >> 2U)))
                                                         ? 0ULL
                                                         : 
                                                        ((0x1bU 
                                                          == 
                                                          (0x1fU 
                                                           & (vlTOPp->io_inst 
                                                              >> 2U)))
                                                          ? 0ULL
                                                          : 
                                                         ((0x19U 
                                                           == 
                                                           (0x1fU 
                                                            & (vlTOPp->io_inst 
                                                               >> 2U)))
                                                           ? 0ULL
                                                           : 
                                                          ((0x18U 
                                                            == 
                                                            (0x1fU 
                                                             & (vlTOPp->io_inst 
                                                                >> 2U)))
                                                            ? 
                                                           ((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__io_offset_hi_hi_hi_1 
                                                             << 0xdU) 
                                                            | (QData)((IData)(
                                                                              ((0x1000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x13U)) 
                                                                               | ((0x800U 
                                                                                & (vlTOPp->io_inst 
                                                                                << 4U)) 
                                                                                | ((0x7e0U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0x14U)) 
                                                                                | (0x1eU 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 7U))))))))
                                                            : 0ULL)))))))))))
            : 0ULL);
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT___GEN_117 
        = ((0x15U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_21
            : ((0x14U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_20
                : ((0x13U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_19
                    : ((0x12U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_18
                        : ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_17
                            : ((0x10U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_16
                                : ((0xfU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_15
                                    : ((0xeU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_14
                                        : ((0xdU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_13
                                            : ((0xcU 
                                                == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_12
                                                : (
                                                   (0xbU 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_11
                                                    : 
                                                   ((0xaU 
                                                     == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                     ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_10
                                                     : 
                                                    ((9U 
                                                      == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                      ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_9
                                                      : 
                                                     ((8U 
                                                       == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                       ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_8
                                                       : 
                                                      ((7U 
                                                        == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_7
                                                        : 
                                                       ((6U 
                                                         == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                         ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_6
                                                         : 
                                                        ((5U 
                                                          == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                          ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_5
                                                          : 
                                                         ((4U 
                                                           == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                           ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_4
                                                           : 
                                                          ((3U 
                                                            == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_3
                                                            : 
                                                           ((2U 
                                                             == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                             ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_2
                                                             : 
                                                            ((1U 
                                                              == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                              ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_1
                                                              : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_0)))))))))))))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT___GEN_150 
        = ((0x15U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_21
            : ((0x14U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_20
                : ((0x13U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_19
                    : ((0x12U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_18
                        : ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_17
                            : ((0x10U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_16
                                : ((0xfU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_15
                                    : ((0xeU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_14
                                        : ((0xdU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_13
                                            : ((0xcU 
                                                == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_12
                                                : (
                                                   (0xbU 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_11
                                                    : 
                                                   ((0xaU 
                                                     == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                     ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_10
                                                     : 
                                                    ((9U 
                                                      == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                      ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_9
                                                      : 
                                                     ((8U 
                                                       == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                       ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_8
                                                       : 
                                                      ((7U 
                                                        == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_7
                                                        : 
                                                       ((6U 
                                                         == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                         ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_6
                                                         : 
                                                        ((5U 
                                                          == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                          ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_5
                                                          : 
                                                         ((4U 
                                                           == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                           ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_4
                                                           : 
                                                          ((3U 
                                                            == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_3
                                                            : 
                                                           ((2U 
                                                             == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                             ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_2
                                                             : 
                                                            ((1U 
                                                              == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                              ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_1
                                                              : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_0)))))))))))))))))))));
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1 = 0ULL;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 = 0ULL;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 = 0ULL;
    } else {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1 
            = ((1U & ((~ (IData)(vlTOPp->reset)) & 
                      ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type) 
                       >> 4U))) ? ((0x1fU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_31
                                    : ((0x1eU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_30
                                        : ((0x1dU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_29
                                            : ((0x1cU 
                                                == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_28
                                                : (
                                                   (0x1bU 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_27
                                                    : 
                                                   ((0x1aU 
                                                     == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                     ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_26
                                                     : 
                                                    ((0x19U 
                                                      == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                      ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_25
                                                      : 
                                                     ((0x18U 
                                                       == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                       ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_24
                                                       : 
                                                      ((0x17U 
                                                        == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_23
                                                        : 
                                                       ((0x16U 
                                                         == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs1_r_addr))
                                                         ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_22
                                                         : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT___GEN_117))))))))))
                : 0ULL);
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
            = ((1U & ((~ (IData)(vlTOPp->reset)) & 
                      ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type) 
                       >> 3U))) ? ((0x1fU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_31
                                    : ((0x1eU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_30
                                        : ((0x1dU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_29
                                            : ((0x1cU 
                                                == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_28
                                                : (
                                                   (0x1bU 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_27
                                                    : 
                                                   ((0x1aU 
                                                     == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                     ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_26
                                                     : 
                                                    ((0x19U 
                                                      == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                      ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_25
                                                      : 
                                                     ((0x18U 
                                                       == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                       ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_24
                                                       : 
                                                      ((0x17U 
                                                        == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_23
                                                        : 
                                                       ((0x16U 
                                                         == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_rs2_r_addr))
                                                         ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT__regs_22
                                                         : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile__DOT___GEN_150))))))))))
                : 0ULL);
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
            = ((IData)(vlTOPp->reset) ? 0ULL : ((4U 
                                                 == 
                                                 (0x1fU 
                                                  & (vlTOPp->io_inst 
                                                     >> 2U)))
                                                 ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1
                                                 : 
                                                ((6U 
                                                  == 
                                                  (0x1fU 
                                                   & (vlTOPp->io_inst 
                                                      >> 2U)))
                                                  ? (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1))
                                                  : 
                                                 ((0xdU 
                                                   == 
                                                   (0x1fU 
                                                    & (vlTOPp->io_inst 
                                                       >> 2U)))
                                                   ? (QData)((IData)(
                                                                     (0xfffffU 
                                                                      & (vlTOPp->io_inst 
                                                                         >> 0xcU))))
                                                   : 
                                                  ((5U 
                                                    == 
                                                    (0x1fU 
                                                     & (vlTOPp->io_inst 
                                                        >> 2U)))
                                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out
                                                    : 
                                                   ((0xcU 
                                                     == 
                                                     (0x1fU 
                                                      & (vlTOPp->io_inst 
                                                         >> 2U)))
                                                     ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1
                                                     : 
                                                    ((0xeU 
                                                      == 
                                                      (0x1fU 
                                                       & (vlTOPp->io_inst 
                                                          >> 2U)))
                                                      ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1
                                                      : 
                                                     ((0x1bU 
                                                       == 
                                                       (0x1fU 
                                                        & (vlTOPp->io_inst 
                                                           >> 2U)))
                                                       ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out
                                                       : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data1))))))));
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_133 
        = ((0x1bU == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? ((((QData)((IData)((1U & (vlTOPp->io_inst 
                                        >> 0x1fU)))) 
                 << 0x3fU) | (((QData)((IData)((1U 
                                                & (vlTOPp->io_inst 
                                                   >> 0x1fU)))) 
                               << 0x3eU) | (((QData)((IData)(
                                                             (1U 
                                                              & (vlTOPp->io_inst 
                                                                 >> 0x1fU)))) 
                                             << 0x3dU) 
                                            | (((QData)((IData)(
                                                                (1U 
                                                                 & (vlTOPp->io_inst 
                                                                    >> 0x1fU)))) 
                                                << 0x3cU) 
                                               | (((QData)((IData)(
                                                                   (1U 
                                                                    & (vlTOPp->io_inst 
                                                                       >> 0x1fU)))) 
                                                   << 0x3bU) 
                                                  | (((QData)((IData)(
                                                                      (1U 
                                                                       & (vlTOPp->io_inst 
                                                                          >> 0x1fU)))) 
                                                      << 0x3aU) 
                                                     | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo_14)) 
                                                         << 0x35U) 
                                                        | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_14)) 
                                                            << 0x2aU) 
                                                           | ((QData)((IData)(
                                                                              ((0x20000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 2U)) 
                                                                               | ((0x10000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 3U)) 
                                                                                | ((0x8000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 4U)) 
                                                                                | ((0x4000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 5U)) 
                                                                                | ((0x2000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 6U)) 
                                                                                | ((0x1000000U 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 7U)) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_lo_14) 
                                                                                << 0x13U) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_lo_lo_14) 
                                                                                << 8U) 
                                                                                | (0xffU 
                                                                                & (vlTOPp->io_inst 
                                                                                >> 0xcU)))))))))))) 
                                                              << 0xcU))))))))) 
               | (QData)((IData)(((0x800U & (vlTOPp->io_inst 
                                             >> 9U)) 
                                  | (0x7feU & (vlTOPp->io_inst 
                                               >> 0x14U))))))
            : ((0x19U == (0x1fU & (vlTOPp->io_inst 
                                   >> 2U))) ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                : ((0x18U == (0x1fU & (vlTOPp->io_inst 
                                       >> 2U))) ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                    : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_102)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_165 
        = ((5U == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__op2_mul_hi_27)) 
                << 0x20U) | (QData)((IData)((0xfffff000U 
                                             & vlTOPp->io_inst))))
            : ((0xcU == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? ((0U == (7U & (vlTOPp->io_inst >> 0xcU)))
                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                    : ((2U == (7U & (vlTOPp->io_inst 
                                     >> 0xcU))) ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                        : ((3U == (7U & (vlTOPp->io_inst 
                                         >> 0xcU)))
                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                            : ((7U == (7U & (vlTOPp->io_inst 
                                             >> 0xcU)))
                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                                : ((6U == (7U & (vlTOPp->io_inst 
                                                 >> 0xcU)))
                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                                    : ((4U == (7U & 
                                               (vlTOPp->io_inst 
                                                >> 0xcU)))
                                        ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                                        : ((1U == (7U 
                                                   & (vlTOPp->io_inst 
                                                      >> 0xcU)))
                                            ? (QData)((IData)(
                                                              (0x3fU 
                                                               & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2))))
                                            : ((5U 
                                                == 
                                                (7U 
                                                 & (vlTOPp->io_inst 
                                                    >> 0xcU)))
                                                ? (QData)((IData)(
                                                                  (0x3fU 
                                                                   & ((0x400U 
                                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT__imm))
                                                                       ? (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2)
                                                                       : (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2)))))
                                                : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2))))))))
                : ((0xeU == (0x1fU & (vlTOPp->io_inst 
                                      >> 2U))) ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2
                    : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_133)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_200 
        = ((4U == (0x1fU & (vlTOPp->io_inst >> 2U)))
            ? ((0U == (7U & (vlTOPp->io_inst >> 0xcU)))
                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                : ((2U == (7U & (vlTOPp->io_inst >> 0xcU)))
                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                    : ((3U == (7U & (vlTOPp->io_inst 
                                     >> 0xcU))) ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                        : ((7U == (7U & (vlTOPp->io_inst 
                                         >> 0xcU)))
                            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                            : ((6U == (7U & (vlTOPp->io_inst 
                                             >> 0xcU)))
                                ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                                : ((4U == (7U & (vlTOPp->io_inst 
                                                 >> 0xcU)))
                                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                                    : ((1U == (7U & 
                                               (vlTOPp->io_inst 
                                                >> 0xcU)))
                                        ? (QData)((IData)(
                                                          (0x3fU 
                                                           & (vlTOPp->io_inst 
                                                              >> 0x14U))))
                                        : ((5U == (7U 
                                                   & (vlTOPp->io_inst 
                                                      >> 0xcU)))
                                            ? (QData)((IData)(
                                                              (0x3fU 
                                                               & (vlTOPp->io_inst 
                                                                  >> 0x14U))))
                                            : 0ULL))))))))
            : ((6U == (0x1fU & (vlTOPp->io_inst >> 2U)))
                ? ((0U == (7U & (vlTOPp->io_inst >> 0xcU)))
                    ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52
                    : ((1U == (7U & (vlTOPp->io_inst 
                                     >> 0xcU))) ? (QData)((IData)(
                                                                  (0x1fU 
                                                                   & (vlTOPp->io_inst 
                                                                      >> 0x14U))))
                        : ((5U == (7U & (vlTOPp->io_inst 
                                         >> 0xcU)))
                            ? (QData)((IData)((0x1fU 
                                               & (vlTOPp->io_inst 
                                                  >> 0x14U))))
                            : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___op2_mul_T_52)))
                : ((0xdU == (0x1fU & (vlTOPp->io_inst 
                                      >> 2U))) ? 0xcULL
                    : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_165)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2 
        = ((IData)(vlTOPp->reset) ? 0ULL : ((IData)(vlTOPp->reset)
                                             ? 0ULL
                                             : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_200));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
        = ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1) 
           + (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
        = ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1) 
           - (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
        = (0x7fffffffffffffffULL & ((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1)) 
                                    << (0x1fU & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
        = VL_SHIFTRS_III(32,32,5, (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1), 
                         (0x1fU & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
        = ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1) 
           >> (0x1fU & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo 
        = ((0x80U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                     >> 0x18U)) | ((0x40U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                             >> 0x19U)) 
                                   | ((0x20U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                >> 0x1aU)) 
                                      | ((0x10U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                   >> 0x1bU)) 
                                         | ((8U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                   >> 0x1cU)) 
                                            | ((4U 
                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                   >> 0x1dU)) 
                                               | ((2U 
                                                   & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                      >> 0x1eU)) 
                                                  | (1U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                        >> 0x1fU)))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_1 
        = ((0x80U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                     >> 0x18U)) | ((0x40U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                             >> 0x19U)) 
                                   | ((0x20U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                >> 0x1aU)) 
                                      | ((0x10U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                   >> 0x1bU)) 
                                         | ((8U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                   >> 0x1cU)) 
                                            | ((4U 
                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                   >> 0x1dU)) 
                                               | ((2U 
                                                   & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                      >> 0x1eU)) 
                                                  | (1U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                        >> 0x1fU)))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_2 
        = ((0x80U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                              >> 0x1fU)) << 7U)) | 
           ((0x40U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                               >> 0x1fU)) << 6U)) | 
            ((0x20U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                >> 0x1fU)) << 5U)) 
             | ((0x10U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                   >> 0x1fU)) << 4U)) 
                | ((8U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                   >> 0x1fU)) << 3U)) 
                   | ((4U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                      >> 0x1fU)) << 2U)) 
                      | ((2U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                         >> 0x1fU)) 
                                << 1U)) | (1U & (IData)(
                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                         >> 0x1fU))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_3 
        = ((0x80U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                     >> 0x18U)) | ((0x40U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                             >> 0x19U)) 
                                   | ((0x20U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                >> 0x1aU)) 
                                      | ((0x10U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                   >> 0x1bU)) 
                                         | ((8U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                   >> 0x1cU)) 
                                            | ((4U 
                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                   >> 0x1dU)) 
                                               | ((2U 
                                                   & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                      >> 0x1eU)) 
                                                  | (1U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                        >> 0x1fU)))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_4 
        = ((0x80U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                     >> 0x18U)) | ((0x40U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                             >> 0x19U)) 
                                   | ((0x20U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                >> 0x1aU)) 
                                      | ((0x10U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                   >> 0x1bU)) 
                                         | ((8U & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                   >> 0x1cU)) 
                                            | ((4U 
                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                   >> 0x1dU)) 
                                               | ((2U 
                                                   & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                      >> 0x1eU)) 
                                                  | (1U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                        >> 0x1fU)))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_1 
        = ((0x23U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
            ? (((QData)((IData)(((0x80000000U & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494) 
                                 | ((0x40000000U & 
                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                      >> 1U)) | ((0x20000000U 
                                                  & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                     >> 2U)) 
                                                 | ((0x10000000U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                        >> 3U)) 
                                                    | ((0x8000000U 
                                                        & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                           >> 4U)) 
                                                       | ((0x4000000U 
                                                           & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                              >> 5U)) 
                                                          | ((0x2000000U 
                                                              & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                 >> 6U)) 
                                                             | ((0x1000000U 
                                                                 & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                    >> 7U)) 
                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_3) 
                                                                    << 0x10U) 
                                                                   | ((0x8000U 
                                                                       & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                          >> 0x10U)) 
                                                                      | ((0x4000U 
                                                                          & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                             >> 0x11U)) 
                                                                         | ((0x2000U 
                                                                             & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                                >> 0x12U)) 
                                                                            | ((0x1000U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                                >> 0x13U)) 
                                                                               | ((0x800U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                                >> 0x14U)) 
                                                                                | ((0x400U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                                >> 0x15U)) 
                                                                                | ((0x200U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                                >> 0x16U)) 
                                                                                | ((0x100U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_494 
                                                                                >> 0x17U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_3)))))))))))))))))))) 
                << 0x20U) | (QData)((IData)(VL_SHIFTRS_III(32,32,5, (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1), 
                                                           (0x1fU 
                                                            & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2))))))
            : ((0x22U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                ? (((QData)((IData)(((0x80000000U & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658) 
                                     | ((0x40000000U 
                                         & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                            >> 1U)) 
                                        | ((0x20000000U 
                                            & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                               >> 2U)) 
                                           | ((0x10000000U 
                                               & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                  >> 3U)) 
                                              | ((0x8000000U 
                                                  & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                     >> 4U)) 
                                                 | ((0x4000000U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                        >> 5U)) 
                                                    | ((0x2000000U 
                                                        & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                           >> 6U)) 
                                                       | ((0x1000000U 
                                                           & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                              >> 7U)) 
                                                          | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_4) 
                                                              << 0x10U) 
                                                             | ((0x8000U 
                                                                 & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                    >> 0x10U)) 
                                                                | ((0x4000U 
                                                                    & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                       >> 0x11U)) 
                                                                   | ((0x2000U 
                                                                       & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                          >> 0x12U)) 
                                                                      | ((0x1000U 
                                                                          & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                             >> 0x13U)) 
                                                                         | ((0x800U 
                                                                             & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                                >> 0x14U)) 
                                                                            | ((0x400U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                                >> 0x15U)) 
                                                                               | ((0x200U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                                >> 0x16U)) 
                                                                                | ((0x100U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658 
                                                                                >> 0x17U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_4)))))))))))))))))))) 
                    << 0x20U) | (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_658)))
                : 0ULL));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_3 
        = ((0x20U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
            ? (((QData)((IData)(((0x80000000U & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197) 
                                 | ((0x40000000U & 
                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                      >> 1U)) | ((0x20000000U 
                                                  & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                     >> 2U)) 
                                                 | ((0x10000000U 
                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                        >> 3U)) 
                                                    | ((0x8000000U 
                                                        & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                           >> 4U)) 
                                                       | ((0x4000000U 
                                                           & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                              >> 5U)) 
                                                          | ((0x2000000U 
                                                              & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                 >> 6U)) 
                                                             | ((0x1000000U 
                                                                 & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                    >> 7U)) 
                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_1) 
                                                                    << 0x10U) 
                                                                   | ((0x8000U 
                                                                       & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                          >> 0x10U)) 
                                                                      | ((0x4000U 
                                                                          & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                             >> 0x11U)) 
                                                                         | ((0x2000U 
                                                                             & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                                >> 0x12U)) 
                                                                            | ((0x1000U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                                >> 0x13U)) 
                                                                               | ((0x800U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                                >> 0x14U)) 
                                                                                | ((0x400U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                                >> 0x15U)) 
                                                                                | ((0x200U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                                >> 0x16U)) 
                                                                                | ((0x100U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197 
                                                                                >> 0x17U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_1)))))))))))))))))))) 
                << 0x20U) | (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_197)))
            : ((0x21U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                ? (((QData)((IData)(((0x80000000U & 
                                      ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                >> 0x1fU)) 
                                       << 0x1fU)) | 
                                     ((0x40000000U 
                                       & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                   >> 0x1fU)) 
                                          << 0x1eU)) 
                                      | ((0x20000000U 
                                          & ((IData)(
                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                      >> 0x1fU)) 
                                             << 0x1dU)) 
                                         | ((0x10000000U 
                                             & ((IData)(
                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                         >> 0x1fU)) 
                                                << 0x1cU)) 
                                            | ((0x8000000U 
                                                & ((IData)(
                                                           (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                            >> 0x1fU)) 
                                                   << 0x1bU)) 
                                               | ((0x4000000U 
                                                   & ((IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                               >> 0x1fU)) 
                                                      << 0x1aU)) 
                                                  | ((0x2000000U 
                                                      & ((IData)(
                                                                 (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                  >> 0x1fU)) 
                                                         << 0x19U)) 
                                                     | ((0x1000000U 
                                                         & ((IData)(
                                                                    (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                     >> 0x1fU)) 
                                                            << 0x18U)) 
                                                        | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_2) 
                                                            << 0x10U) 
                                                           | ((0x8000U 
                                                               & ((IData)(
                                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                           >> 0x1fU)) 
                                                                  << 0xfU)) 
                                                              | ((0x4000U 
                                                                  & ((IData)(
                                                                             (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                              >> 0x1fU)) 
                                                                     << 0xeU)) 
                                                                 | ((0x2000U 
                                                                     & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                                >> 0x1fU)) 
                                                                        << 0xdU)) 
                                                                    | ((0x1000U 
                                                                        & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                                >> 0x1fU)) 
                                                                           << 0xcU)) 
                                                                       | ((0x800U 
                                                                           & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                                >> 0x1fU)) 
                                                                              << 0xbU)) 
                                                                          | ((0x400U 
                                                                              & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                                >> 0x1fU)) 
                                                                                << 0xaU)) 
                                                                             | ((0x200U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                                >> 0x1fU)) 
                                                                                << 9U)) 
                                                                                | ((0x100U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361 
                                                                                >> 0x1fU)) 
                                                                                << 8U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo_2)))))))))))))))))))) 
                    << 0x20U) | (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_361)))
                : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_1));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_6 
        = ((0x1dU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
            ? (QData)((IData)(VL_GTES_IQQ(1,64,64, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
            : ((0x1eU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                ? (QData)((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                   >= vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                : ((0x1fU == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                    ? (((QData)((IData)(((0x80000000U 
                                          & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32) 
                                         | ((0x40000000U 
                                             & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                >> 1U)) 
                                            | ((0x20000000U 
                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                   >> 2U)) 
                                               | ((0x10000000U 
                                                   & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                      >> 3U)) 
                                                  | ((0x8000000U 
                                                      & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                         >> 4U)) 
                                                     | ((0x4000000U 
                                                         & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                            >> 5U)) 
                                                        | ((0x2000000U 
                                                            & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                               >> 6U)) 
                                                           | ((0x1000000U 
                                                               & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                  >> 7U)) 
                                                              | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo) 
                                                                  << 0x10U) 
                                                                 | ((0x8000U 
                                                                     & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                        >> 0x10U)) 
                                                                    | ((0x4000U 
                                                                        & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                           >> 0x11U)) 
                                                                       | ((0x2000U 
                                                                           & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                              >> 0x12U)) 
                                                                          | ((0x1000U 
                                                                              & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                                >> 0x13U)) 
                                                                             | ((0x800U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                                >> 0x14U)) 
                                                                                | ((0x400U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                                >> 0x15U)) 
                                                                                | ((0x200U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                                >> 0x16U)) 
                                                                                | ((0x100U 
                                                                                & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32 
                                                                                >> 0x17U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT__alu_result_lo_lo)))))))))))))))))))) 
                        << 0x20U) | (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___alu_result_T_32)))
                    : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_3)));
    VL_EXTEND_WQ(127,64, __Vtemp74, (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                     + vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2));
    VL_EXTEND_WQ(127,64, __Vtemp75, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1);
    VL_SHIFTL_WWI(127,127,6, __Vtemp76, __Vtemp75, 
                  (0x3fU & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)));
    VL_EXTEND_WQ(127,64, __Vtemp77, ((0x13U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                      ? VL_SHIFTRS_QQI(64,64,6, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1, 
                                                       (0x3fU 
                                                        & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                                      : ((0x14U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                          ? (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                             >> (0x3fU 
                                                 & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                                          : ((0x15U 
                                              == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                              ? (QData)((IData)(
                                                                VL_LTS_IQQ(1,64,64, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                                              : ((0x16U 
                                                  == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                  ? (QData)((IData)(
                                                                    (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                                     < vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                                                  : 
                                                 ((0x17U 
                                                   == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                   ? 
                                                  (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                   & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)
                                                   : 
                                                  ((0x18U 
                                                    == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                    ? 
                                                   (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                    | vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)
                                                    : 
                                                   ((0x19U 
                                                     == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                     ? 
                                                    (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                     ^ vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)
                                                     : 
                                                    ((0x1aU 
                                                      == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                      ? 
                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                      - vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)
                                                      : 
                                                     ((0x1bU 
                                                       == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                       ? (QData)((IData)(
                                                                         (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                                          == vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                                                       : 
                                                      ((0x1cU 
                                                        == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                        ? (QData)((IData)(
                                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op1 
                                                                           != vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_op2)))
                                                        : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_6)))))))))));
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[0U] = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[1U] = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[2U] = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[3U] = 0U;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage_io_rd_data = 0ULL;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_in = 0ULL;
    } else {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[0U] 
            = ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                ? __Vtemp74[0U] : ((0x12U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                    ? __Vtemp76[0U]
                                    : __Vtemp77[0U]));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[1U] 
            = ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                ? __Vtemp74[1U] : ((0x12U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                    ? __Vtemp76[1U]
                                    : __Vtemp77[1U]));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[2U] 
            = ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                ? __Vtemp74[2U] : ((0x12U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                    ? __Vtemp76[2U]
                                    : __Vtemp77[2U]));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[3U] 
            = (0x7fffffffU & ((0x11U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                               ? __Vtemp74[3U] : ((0x12U 
                                                   == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage__DOT___GEN_207))
                                                   ? 
                                                  __Vtemp76[3U]
                                                   : 
                                                  __Vtemp77[3U])));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage_io_rd_data 
            = (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[1U])) 
                << 0x20U) | (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage__DOT___GEN_19[0U])));
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_in 
            = ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_j)
                ? (0xfffffffffffffffeULL & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage_io_rd_data)
                : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch__DOT___GEN_3);
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_pc_ena 
        = ((~ (IData)(vlTOPp->reset)) & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_j) 
                                         | ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_b) 
                                            & (1ULL 
                                               == vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage_io_rd_data))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
        = ((IData)(vlTOPp->reset) ? 0ULL : ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_pc_ena_j)
                                             ? (4ULL 
                                                + vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_IF_Stage_io_pc_out)
                                             : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Exe_Stage_io_rd_data));
    __Vtemp84[0U] = (0xffff0000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                    << 0x10U));
    __Vtemp84[1U] = ((0xffffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                 >> 0x10U)) | (0xffff0000U 
                                               & ((IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                           >> 0x20U)) 
                                                  << 0x10U)));
    __Vtemp84[2U] = (0xffffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                         >> 0x20U)) 
                                >> 0x10U));
    VL_EXTEND_WW(127,80, __Vtemp85, __Vtemp84);
    __Vtemp86[0U] = 0U;
    __Vtemp86[1U] = (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
    __Vtemp86[2U] = (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                             >> 0x20U));
    VL_EXTEND_WW(127,96, __Vtemp87, __Vtemp86);
    __Vtemp88[0U] = 0U;
    __Vtemp88[1U] = (0xffff0000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                    << 0x10U));
    __Vtemp88[2U] = ((0xffffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                 >> 0x10U)) | (0xffff0000U 
                                               & ((IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                           >> 0x20U)) 
                                                  << 0x10U)));
    __Vtemp88[3U] = (0xffffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                         >> 0x20U)) 
                                >> 0x10U));
    VL_EXTEND_WW(127,112, __Vtemp89, __Vtemp88);
    VL_EXTEND_WQ(127,64, __Vtemp90, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
    __Vtemp97[0U] = (0xffffff00U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                    << 8U));
    __Vtemp97[1U] = ((0xffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                               >> 0x18U)) | (0xffffff00U 
                                             & ((IData)(
                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                         >> 0x20U)) 
                                                << 8U)));
    __Vtemp97[2U] = (0xffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                       >> 0x20U)) >> 0x18U));
    VL_EXTEND_WW(127,72, __Vtemp98, __Vtemp97);
    __Vtemp99[0U] = (0xffff0000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                    << 0x10U));
    __Vtemp99[1U] = ((0xffffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                 >> 0x10U)) | (0xffff0000U 
                                               & ((IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                           >> 0x20U)) 
                                                  << 0x10U)));
    __Vtemp99[2U] = (0xffffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                         >> 0x20U)) 
                                >> 0x10U));
    VL_EXTEND_WW(127,80, __Vtemp100, __Vtemp99);
    __Vtemp101[0U] = (0xff000000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                     << 0x18U));
    __Vtemp101[1U] = ((0xffffffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                    >> 8U)) | (0xff000000U 
                                               & ((IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                           >> 0x20U)) 
                                                  << 0x18U)));
    __Vtemp101[2U] = (0xffffffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                            >> 0x20U)) 
                                   >> 8U));
    VL_EXTEND_WW(127,88, __Vtemp102, __Vtemp101);
    __Vtemp103[0U] = 0U;
    __Vtemp103[1U] = (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
    __Vtemp103[2U] = (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                              >> 0x20U));
    VL_EXTEND_WW(127,96, __Vtemp104, __Vtemp103);
    __Vtemp105[0U] = 0U;
    __Vtemp105[1U] = (0xffffff00U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                     << 8U));
    __Vtemp105[2U] = ((0xffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                >> 0x18U)) | (0xffffff00U 
                                              & ((IData)(
                                                         (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                          >> 0x20U)) 
                                                 << 8U)));
    __Vtemp105[3U] = (0xffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                        >> 0x20U)) 
                               >> 0x18U));
    VL_EXTEND_WW(127,104, __Vtemp106, __Vtemp105);
    __Vtemp107[0U] = 0U;
    __Vtemp107[1U] = (0xffff0000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                     << 0x10U));
    __Vtemp107[2U] = ((0xffffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                  >> 0x10U)) | (0xffff0000U 
                                                & ((IData)(
                                                           (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                            >> 0x20U)) 
                                                   << 0x10U)));
    __Vtemp107[3U] = (0xffffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                          >> 0x20U)) 
                                 >> 0x10U));
    VL_EXTEND_WW(127,112, __Vtemp108, __Vtemp107);
    __Vtemp109[0U] = 0U;
    __Vtemp109[1U] = (0xff000000U & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                     << 0x18U));
    __Vtemp109[2U] = ((0xffffffU & ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2) 
                                    >> 8U)) | (0xff000000U 
                                               & ((IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                                           >> 0x20U)) 
                                                  << 0x18U)));
    __Vtemp109[3U] = (0xffffffU & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2 
                                            >> 0x20U)) 
                                   >> 8U));
    VL_EXTEND_WW(127,120, __Vtemp110, __Vtemp109);
    VL_EXTEND_WQ(127,64, __Vtemp111, vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Regfile_io_r_data2);
    if ((1U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))) {
        __Vtemp127[0U] = ((1U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                >> 1U))))
                           ? __Vtemp85[0U] : ((2U == 
                                               (3U 
                                                & (IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                           >> 1U))))
                                               ? __Vtemp87[0U]
                                               : ((3U 
                                                   == 
                                                   (3U 
                                                    & (IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                               >> 1U))))
                                                   ? 
                                                  __Vtemp89[0U]
                                                   : 
                                                  __Vtemp90[0U])));
        __Vtemp127[1U] = ((1U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                >> 1U))))
                           ? __Vtemp85[1U] : ((2U == 
                                               (3U 
                                                & (IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                           >> 1U))))
                                               ? __Vtemp87[1U]
                                               : ((3U 
                                                   == 
                                                   (3U 
                                                    & (IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                               >> 1U))))
                                                   ? 
                                                  __Vtemp89[1U]
                                                   : 
                                                  __Vtemp90[1U])));
        __Vtemp127[2U] = ((1U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                >> 1U))))
                           ? __Vtemp85[2U] : ((2U == 
                                               (3U 
                                                & (IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                           >> 1U))))
                                               ? __Vtemp87[2U]
                                               : ((3U 
                                                   == 
                                                   (3U 
                                                    & (IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                               >> 1U))))
                                                   ? 
                                                  __Vtemp89[2U]
                                                   : 
                                                  __Vtemp90[2U])));
        __Vtemp127[3U] = ((1U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                >> 1U))))
                           ? __Vtemp85[3U] : ((2U == 
                                               (3U 
                                                & (IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                           >> 1U))))
                                               ? __Vtemp87[3U]
                                               : ((3U 
                                                   == 
                                                   (3U 
                                                    & (IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                               >> 1U))))
                                                   ? 
                                                  __Vtemp89[3U]
                                                   : 
                                                  __Vtemp90[3U])));
    } else {
        __Vtemp127[0U] = ((1U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                           ? __Vtemp98[0U] : ((2U == 
                                               (7U 
                                                & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                               ? __Vtemp100[0U]
                                               : ((3U 
                                                   == 
                                                   (7U 
                                                    & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                   ? 
                                                  __Vtemp102[0U]
                                                   : 
                                                  ((4U 
                                                    == 
                                                    (7U 
                                                     & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                    ? 
                                                   __Vtemp104[0U]
                                                    : 
                                                   ((5U 
                                                     == 
                                                     (7U 
                                                      & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                     ? 
                                                    __Vtemp106[0U]
                                                     : 
                                                    ((6U 
                                                      == 
                                                      (7U 
                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                      ? 
                                                     __Vtemp108[0U]
                                                      : 
                                                     ((7U 
                                                       == 
                                                       (7U 
                                                        & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                       ? 
                                                      __Vtemp110[0U]
                                                       : 
                                                      __Vtemp111[0U])))))));
        __Vtemp127[1U] = ((1U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                           ? __Vtemp98[1U] : ((2U == 
                                               (7U 
                                                & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                               ? __Vtemp100[1U]
                                               : ((3U 
                                                   == 
                                                   (7U 
                                                    & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                   ? 
                                                  __Vtemp102[1U]
                                                   : 
                                                  ((4U 
                                                    == 
                                                    (7U 
                                                     & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                    ? 
                                                   __Vtemp104[1U]
                                                    : 
                                                   ((5U 
                                                     == 
                                                     (7U 
                                                      & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                     ? 
                                                    __Vtemp106[1U]
                                                     : 
                                                    ((6U 
                                                      == 
                                                      (7U 
                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                      ? 
                                                     __Vtemp108[1U]
                                                      : 
                                                     ((7U 
                                                       == 
                                                       (7U 
                                                        & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                       ? 
                                                      __Vtemp110[1U]
                                                       : 
                                                      __Vtemp111[1U])))))));
        __Vtemp127[2U] = ((1U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                           ? __Vtemp98[2U] : ((2U == 
                                               (7U 
                                                & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                               ? __Vtemp100[2U]
                                               : ((3U 
                                                   == 
                                                   (7U 
                                                    & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                   ? 
                                                  __Vtemp102[2U]
                                                   : 
                                                  ((4U 
                                                    == 
                                                    (7U 
                                                     & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                    ? 
                                                   __Vtemp104[2U]
                                                    : 
                                                   ((5U 
                                                     == 
                                                     (7U 
                                                      & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                     ? 
                                                    __Vtemp106[2U]
                                                     : 
                                                    ((6U 
                                                      == 
                                                      (7U 
                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                      ? 
                                                     __Vtemp108[2U]
                                                      : 
                                                     ((7U 
                                                       == 
                                                       (7U 
                                                        & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                       ? 
                                                      __Vtemp110[2U]
                                                       : 
                                                      __Vtemp111[2U])))))));
        __Vtemp127[3U] = ((1U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                           ? __Vtemp98[3U] : ((2U == 
                                               (7U 
                                                & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                               ? __Vtemp100[3U]
                                               : ((3U 
                                                   == 
                                                   (7U 
                                                    & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                   ? 
                                                  __Vtemp102[3U]
                                                   : 
                                                  ((4U 
                                                    == 
                                                    (7U 
                                                     & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                    ? 
                                                   __Vtemp104[3U]
                                                    : 
                                                   ((5U 
                                                     == 
                                                     (7U 
                                                      & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                     ? 
                                                    __Vtemp106[3U]
                                                     : 
                                                    ((6U 
                                                      == 
                                                      (7U 
                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                      ? 
                                                     __Vtemp108[3U]
                                                      : 
                                                     ((7U 
                                                       == 
                                                       (7U 
                                                        & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                       ? 
                                                      __Vtemp110[3U]
                                                       : 
                                                      __Vtemp111[3U])))))));
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_50[0U] 
        = __Vtemp127[0U];
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_50[1U] 
        = __Vtemp127[1U];
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_50[2U] 
        = __Vtemp127[2U];
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_50[3U] 
        = __Vtemp127[3U];
    vlTOPp->rvcpu__DOT__M_RAM_io_mem_r_data = (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_r_ena) 
                                                & (~ (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage_io_mem_w_ena)))
                                                ? vlTOPp->rvcpu__DOT__M_RAM__DOT__Ram_Block
                                               [(0x3ffU 
                                                 & (IData)(
                                                           ((IData)(vlTOPp->reset)
                                                             ? 0ULL
                                                             : 
                                                            ((2U 
                                                              & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                                              ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out
                                                              : 0ULL))))]
                                                : 0ULL);
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_13 
        = ((3U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
            ? 0xffffffffffffffffULL : ((2U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                        ? ((1U & (IData)(
                                                         (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                          >> 2U)))
                                            ? 0xffffffff00000000ULL
                                            : 0xffffffffULL)
                                        : ((1U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                            ? ((1U 
                                                == 
                                                (3U 
                                                 & (IData)(
                                                           (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                            >> 1U))))
                                                ? 0xffff0000ULL
                                                : (
                                                   (2U 
                                                    == 
                                                    (3U 
                                                     & (IData)(
                                                               (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                                >> 1U))))
                                                    ? 0xffff00000000ULL
                                                    : 
                                                   ((3U 
                                                     == 
                                                     (3U 
                                                      & (IData)(
                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                                 >> 1U))))
                                                     ? 0xffff000000000000ULL
                                                     : 0xffffULL)))
                                            : ((1U 
                                                == 
                                                (7U 
                                                 & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                ? 0xff00ULL
                                                : (
                                                   (2U 
                                                    == 
                                                    (7U 
                                                     & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                    ? 0xff0000ULL
                                                    : 
                                                   ((3U 
                                                     == 
                                                     (7U 
                                                      & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                     ? 0xff000000ULL
                                                     : 
                                                    ((4U 
                                                      == 
                                                      (7U 
                                                       & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                      ? 0xff00000000ULL
                                                      : 
                                                     ((5U 
                                                       == 
                                                       (7U 
                                                        & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                       ? 0xff0000000000ULL
                                                       : 
                                                      ((6U 
                                                        == 
                                                        (7U 
                                                         & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                        ? 0xff000000000000ULL
                                                        : 
                                                       ((7U 
                                                         == 
                                                         (7U 
                                                          & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                                         ? 0xff00000000000000ULL
                                                         : 0xffULL))))))))));
    vlTOPp->io_mem_r_data = vlTOPp->rvcpu__DOT__M_RAM_io_mem_r_data;
    if (vlTOPp->reset) {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_mask = 0ULL;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask = 0ULL;
    } else {
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_mask 
            = vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_13;
        vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
            = ((2U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                ? (vlTOPp->rvcpu__DOT__M_RAM_io_mem_r_data 
                   & vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_mask)
                : 0ULL);
    }
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_28 
        = ((1U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
            ? ((1U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                     >> 1U)))) ? (0xffffffffffffULL 
                                                  & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                     >> 0x10U))
                : ((2U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                         >> 1U)))) ? (QData)((IData)(
                                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                                      >> 0x20U)))
                    : ((3U == (3U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                             >> 1U))))
                        ? (QData)((IData)((0xffffU 
                                           & (IData)(
                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                      >> 0x30U)))))
                        : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask)))
            : ((1U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                ? (0xffffffffffffffULL & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                          >> 8U)) : 
               ((2U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                 ? (0xffffffffffffULL & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                         >> 0x10U))
                 : ((3U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                     ? (0xffffffffffULL & (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                           >> 0x18U))
                     : ((4U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                         ? (QData)((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                            >> 0x20U)))
                         : ((5U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                             ? (QData)((IData)((0xffffffU 
                                                & (IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                           >> 0x28U)))))
                             : ((6U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                 ? (QData)((IData)(
                                                   (0xffffU 
                                                    & (IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                               >> 0x30U)))))
                                 : ((7U == (7U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)))
                                     ? (QData)((IData)(
                                                       (0xffU 
                                                        & (IData)(
                                                                  (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                                   >> 0x38U)))))
                                     : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
        = ((IData)(vlTOPp->reset) ? 0ULL : ((2U & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                             ? ((3U 
                                                 == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                                 ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask
                                                 : 
                                                ((2U 
                                                  == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                                                  ? 
                                                 ((1U 
                                                   & (IData)(
                                                             (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out 
                                                              >> 2U)))
                                                   ? (QData)((IData)(
                                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask 
                                                                      >> 0x20U)))
                                                   : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_mask)
                                                  : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_28))
                                             : 0ULL));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo 
        = ((0x80U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                              >> 0x1fU)) << 7U)) | 
           ((0x40U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                               >> 0x1fU)) << 6U)) | 
            ((0x20U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                >> 0x1fU)) << 5U)) 
             | ((0x10U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                   >> 0x1fU)) << 4U)) 
                | ((8U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                   >> 0x1fU)) << 3U)) 
                   | ((4U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                      >> 0x1fU)) << 2U)) 
                      | ((2U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                         >> 0x1fU)) 
                                << 1U)) | (1U & (IData)(
                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                         >> 0x1fU))))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_2 
        = ((0x20U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                              >> 0xfU)) << 5U)) | (
                                                   (0x10U 
                                                    & ((IData)(
                                                               (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                >> 0xfU)) 
                                                       << 4U)) 
                                                   | ((8U 
                                                       & ((IData)(
                                                                  (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                   >> 0xfU)) 
                                                          << 3U)) 
                                                      | ((4U 
                                                          & ((IData)(
                                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                      >> 0xfU)) 
                                                             << 2U)) 
                                                         | ((2U 
                                                             & ((IData)(
                                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                         >> 0xfU)) 
                                                                << 1U)) 
                                                            | (1U 
                                                               & (IData)(
                                                                         (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                          >> 0xfU))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_4 
        = ((0x40U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                              >> 7U)) << 6U)) | ((0x20U 
                                                  & ((IData)(
                                                             (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                              >> 7U)) 
                                                     << 5U)) 
                                                 | ((0x10U 
                                                     & ((IData)(
                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                 >> 7U)) 
                                                        << 4U)) 
                                                    | ((8U 
                                                        & ((IData)(
                                                                   (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                    >> 7U)) 
                                                           << 3U)) 
                                                       | ((4U 
                                                           & ((IData)(
                                                                      (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                       >> 7U)) 
                                                              << 2U)) 
                                                          | ((2U 
                                                              & ((IData)(
                                                                         (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                          >> 7U)) 
                                                                 << 1U)) 
                                                             | (1U 
                                                                & (IData)(
                                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                           >> 7U)))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_2 
        = ((0x800U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                               >> 0xfU)) << 0xbU)) 
           | ((0x400U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                  >> 0xfU)) << 0xaU)) 
              | ((0x200U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                     >> 0xfU)) << 9U)) 
                 | ((0x100U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                        >> 0xfU)) << 8U)) 
                    | ((0x80U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                          >> 0xfU)) 
                                 << 7U)) | ((0x40U 
                                             & ((IData)(
                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                         >> 0xfU)) 
                                                << 6U)) 
                                            | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_2)))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_4 
        = ((0x2000U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                >> 7U)) << 0xdU)) | 
           ((0x1000U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                 >> 7U)) << 0xcU)) 
            | ((0x800U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                   >> 7U)) << 0xbU)) 
               | ((0x400U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                      >> 7U)) << 0xaU)) 
                  | ((0x200U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                         >> 7U)) << 9U)) 
                     | ((0x100U & ((IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                            >> 7U)) 
                                   << 8U)) | ((0x80U 
                                               & ((IData)(
                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                           >> 7U)) 
                                                  << 7U)) 
                                              | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_4))))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_29 
        = ((1U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
            ? ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_ext)
                ? (((QData)((IData)((1U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                   >> 0xfU))))) 
                    << 0x3fU) | (((QData)((IData)((1U 
                                                   & (IData)(
                                                             (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                              >> 0xfU))))) 
                                  << 0x3eU) | (((QData)((IData)(
                                                                (1U 
                                                                 & (IData)(
                                                                           (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                            >> 0xfU))))) 
                                                << 0x3dU) 
                                               | (((QData)((IData)(
                                                                   (1U 
                                                                    & (IData)(
                                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                               >> 0xfU))))) 
                                                   << 0x3cU) 
                                                  | (((QData)((IData)(
                                                                      (1U 
                                                                       & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                      << 0x3bU) 
                                                     | (((QData)((IData)(
                                                                         (1U 
                                                                          & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                         << 0x3aU) 
                                                        | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_2)) 
                                                            << 0x34U) 
                                                           | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_2)) 
                                                               << 0x28U) 
                                                              | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                                  << 0x27U) 
                                                                 | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                                     << 0x26U) 
                                                                    | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                                        << 0x25U) 
                                                                       | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                                           << 0x24U) 
                                                                          | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                                              << 0x23U) 
                                                                             | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0xfU))))) 
                                                                                << 0x22U) 
                                                                                | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_2)) 
                                                                                << 0x1cU) 
                                                                                | (QData)((IData)(
                                                                                (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_2) 
                                                                                << 0x10U) 
                                                                                | (0xffffU 
                                                                                & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext))))))))))))))))))))
                : (QData)((IData)((0xffffU & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext)))))
            : ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_ext)
                ? (((QData)((IData)((1U & (IData)((vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                   >> 7U))))) 
                    << 0x3fU) | (((QData)((IData)((1U 
                                                   & (IData)(
                                                             (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                              >> 7U))))) 
                                  << 0x3eU) | (((QData)((IData)(
                                                                (1U 
                                                                 & (IData)(
                                                                           (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                            >> 7U))))) 
                                                << 0x3dU) 
                                               | (((QData)((IData)(
                                                                   (1U 
                                                                    & (IData)(
                                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                               >> 7U))))) 
                                                   << 0x3cU) 
                                                  | (((QData)((IData)(
                                                                      (1U 
                                                                       & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                      << 0x3bU) 
                                                     | (((QData)((IData)(
                                                                         (1U 
                                                                          & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                         << 0x3aU) 
                                                        | (((QData)((IData)(
                                                                            (1U 
                                                                             & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                            << 0x39U) 
                                                           | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_4)) 
                                                               << 0x32U) 
                                                              | (((QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_4)) 
                                                                  << 0x24U) 
                                                                 | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                                     << 0x23U) 
                                                                    | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                                        << 0x22U) 
                                                                       | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                                           << 0x21U) 
                                                                          | (((QData)((IData)(
                                                                                (1U 
                                                                                & (IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U))))) 
                                                                              << 0x20U) 
                                                                             | (QData)((IData)(
                                                                                ((0x80000000U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U)) 
                                                                                << 0x1fU)) 
                                                                                | ((0x40000000U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U)) 
                                                                                << 0x1eU)) 
                                                                                | ((0x20000000U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 7U)) 
                                                                                << 0x1dU)) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_lo_4) 
                                                                                << 0x16U) 
                                                                                | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo_4) 
                                                                                << 8U) 
                                                                                | (0xffU 
                                                                                & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext))))))))))))))))))))))
                : (QData)((IData)((0xffU & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext))))));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_33 
        = ((3U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
            ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext
            : ((2U == (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_sel))
                ? ((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_mem_ext)
                    ? (((QData)((IData)(((0x80000000U 
                                          & ((IData)(
                                                     (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                      >> 0x1fU)) 
                                             << 0x1fU)) 
                                         | ((0x40000000U 
                                             & ((IData)(
                                                        (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                         >> 0x1fU)) 
                                                << 0x1eU)) 
                                            | ((0x20000000U 
                                                & ((IData)(
                                                           (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                            >> 0x1fU)) 
                                                   << 0x1dU)) 
                                               | ((0x10000000U 
                                                   & ((IData)(
                                                              (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                               >> 0x1fU)) 
                                                      << 0x1cU)) 
                                                  | ((0x8000000U 
                                                      & ((IData)(
                                                                 (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                  >> 0x1fU)) 
                                                         << 0x1bU)) 
                                                     | ((0x4000000U 
                                                         & ((IData)(
                                                                    (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                     >> 0x1fU)) 
                                                            << 0x1aU)) 
                                                        | ((0x2000000U 
                                                            & ((IData)(
                                                                       (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                        >> 0x1fU)) 
                                                               << 0x19U)) 
                                                           | ((0x1000000U 
                                                               & ((IData)(
                                                                          (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                           >> 0x1fU)) 
                                                                  << 0x18U)) 
                                                              | (((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo) 
                                                                  << 0x10U) 
                                                                 | ((0x8000U 
                                                                     & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                        << 0xfU)) 
                                                                    | ((0x4000U 
                                                                        & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                           << 0xeU)) 
                                                                       | ((0x2000U 
                                                                           & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                              << 0xdU)) 
                                                                          | ((0x1000U 
                                                                              & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                                << 0xcU)) 
                                                                             | ((0x800U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                                << 0xbU)) 
                                                                                | ((0x400U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                                << 0xaU)) 
                                                                                | ((0x200U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                                << 9U)) 
                                                                                | ((0x100U 
                                                                                & ((IData)(
                                                                                (vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext 
                                                                                >> 0x1fU)) 
                                                                                << 8U)) 
                                                                                | (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__io_rd_w_data_lo_lo)))))))))))))))))))) 
                        << 0x20U) | (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext)))
                    : (QData)((IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT__the_data_ext)))
                : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_29));
    vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_WB_Stage_io_wb_w_data 
        = ((IData)(vlTOPp->reset) ? 0ULL : ((IData)(vlTOPp->reset)
                                             ? 0ULL
                                             : ((2U 
                                                 & (IData)(vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_ID_Stage_io_inst_type))
                                                 ? vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Mem_Stage__DOT___GEN_33
                                                 : vlTOPp->rvcpu__DOT__M_RVcore__DOT__M_Branch_io_rd_data_out)));
}

void Vrvcpu::_eval(Vrvcpu__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_eval\n"); );
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    vlTOPp->_combo__TOP__1(vlSymsp);
    vlTOPp->__Vm_traceActivity[1U] = 1U;
    if (((IData)(vlTOPp->clock) & (~ (IData)(vlTOPp->__Vclklast__TOP__clock)))) {
        vlTOPp->_sequent__TOP__3(vlSymsp);
        vlTOPp->__Vm_traceActivity[2U] = 1U;
    }
    vlTOPp->_combo__TOP__4(vlSymsp);
    // Final
    vlTOPp->__Vclklast__TOP__clock = vlTOPp->clock;
}

VL_INLINE_OPT QData Vrvcpu::_change_request(Vrvcpu__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_change_request\n"); );
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    return (vlTOPp->_change_request_1(vlSymsp));
}

VL_INLINE_OPT QData Vrvcpu::_change_request_1(Vrvcpu__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_change_request_1\n"); );
    Vrvcpu* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    // Change detection
    QData __req = false;  // Logically a bool
    return __req;
}

#ifdef VL_DEBUG
void Vrvcpu::_eval_debug_assertions() {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vrvcpu::_eval_debug_assertions\n"); );
    // Body
    if (VL_UNLIKELY((clock & 0xfeU))) {
        Verilated::overWidthError("clock");}
    if (VL_UNLIKELY((reset & 0xfeU))) {
        Verilated::overWidthError("reset");}
}
#endif  // VL_DEBUG
